<?php

namespace app\health\validate;

class UserAddressValidate extends BaseValidate
{
    protected $rule =   [
        'id' => 'require',
    ];

    protected $message  =   [
        'id.require' => '请选择地址',
    ];

    // 场景验证
    protected $scene = [
        'set_default' => ['id'],
        'delete'      => ['id'],
    ];
}
